package com.lancoo.cvas.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: liufeng
 * @CreateTime: 2023-12-04  19:48
 * @Description:
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
public class PeriodSchemeDto {

    @JsonProperty("StatusCode")
    private Integer statusCode;
    @JsonProperty("ErrCode")
    private Integer errCode;
    @JsonProperty("Msg")
    private String msg;
    @JsonProperty("Data")
    private List<DataDTO> data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("SchoolID")
        private String schoolID;
        @JsonProperty("ClassHourType")
        private Integer classHourType;
        @JsonProperty("ClassHourNO")
        private Integer classHourNO;
        @JsonProperty("ClassHourName")
        private String classHourName;
        @JsonProperty("StartDate")
        private String startDate;
        @JsonProperty("EndDate")
        private String endDate;
        @JsonProperty("PeriodID")
        private String periodID;
        @JsonProperty("SchemeID")
        private String schemeID;
        @JsonProperty("SchemeName")
        private String schemeName;
    }
}

